/*
 * @Descripttion:
 * @version:
 * @Author: tanghao1
 * @Date: 2021-01-21 13:36:54
 * @LastEditors: tanghao1
 * @LastEditTime: 2021-02-20 14:59:46
 */
/** 路由配置 */
const setRouter = [
  {
    path: '/demo', // 路由地址
    name: 'demo', // 路由名称
    component: () => import('@/views/demo'), // vue文件路径地址
    meta: {
      title: '初始化Demo'
    },
    hidden: true
  },
  // 导航配置（旧导航）
  {
    path: '/navConfig',
    name: 'navConfig',
    component: () => import('@/views/navConfig/Index'),
    meta: {
      title: '老导航配置'
    }
  },
  // 导航配置(新导航)
  {
    path: '/tabConfig',
    name: 'tabConfig',
    component: () => import('@/views/tabConfig/Index'),
    meta: {
      title: '新导航配置'
    },
    props: true
  },
  // 页面管理
  {
    path: '/pageManagement',
    name: 'pageManagement',
    component: () => import('@/views/pageManagement/Index'),
    meta: {
      title: '页面管理'
    }
  },
  // 筛选模板
  {
    path: '/screenTemplate',
    name: 'screenTemplate',
    component: () => import('@/views/screenTemplate/Index'),
    meta: {
      title: '筛选模板管理'
    }
  },
  // 图册管理
  {
    path: '/atlasManagement',
    name: 'atlasManagement',
    component: () => import('@/views/atlasManagement/Index'),
    meta: {
      title: '图册管理'
    }
  },
  // 图集图册管理
  {
    path: '/atlaspicManagement',
    name: 'atlaspicManagement',
    component: () => import('@/views/atlaspicManagement/Index'),
    meta: {
      title: '图册图集管理'
    }
  },
  // 属性配置
  {
    path: '/attrConfig',
    name: 'attrConfig',
    component: () => import('@/views/attrConfig/Index'),
    meta: {
      title: '属性配置'
    }
  },
  // 帮助中心
  {
    path: '/helpCenter',
    name: 'helpCenter',
    component: () => import('@/views/helpCenter/index'),
    meta: {
      title: '帮助中心管理'
    }
  },
  // APP主页配置
  {
    path: '/homeConfig',
    name: 'HomeConfig',
    component: () => import('@/views/homeConfig/index'),
    meta: {
      title: 'APP主页配置'
    }
  },
  // Pad主页配置
  {
    path: '/padHomeConfig',
    name: 'PadHomeConfig',
    component: () => import('@/views/homeConfig/PadIndex'),
    meta: {
      title: 'PAD主页配置'
    }
  },
  // web主页配置
  {
    path: '/webHomeConfig',
    name: 'WebHomeConfig',
    component: () => import('@/views/homeConfig/WebIndex'),
    meta: {
      title: 'WEB主页配置'
    }
  },
  // 自定义页面
  {
    path: '/definePage',
    name: 'DefinePage',
    component: () => import('@/views/definePage/index'),
    meta: {
      title: '自定义页面管理'
    }
  },
  // 风格管理
  {
    path: '/styleManage',
    name: 'StyleManage',
    component: () => import('@/views/styleSeries/StyleList'),
    meta: {
      title: '风格管理'
    }
  },
  // 系列管理
  {
    path: '/seriesManage',
    name: 'SeriesManage',
    component: () => import('@/views/styleSeries/SeriesList'),
    meta: {
      title: '系列管理'
    }
  },
  // 空间管理
  {
    path: '/spaceManage',
    name: 'SpaceManage',
    component: () => import('@/views/spaceCategory/SpaceList'),
    meta: {
      title: '空间管理'
    }
  },
  // 品类管理
  {
    path: '/categoryManage',
    name: 'CategoryManage',
    component: () => import('@/views/spaceCategory/CategoryList'),
    meta: {
      title: '品类管理'
    }
  },
  // 分享配置
  {
    path: '/shareConfig',
    name: 'ShareConfig',
    component: () => import('@/views/shareConfig/index'),
    meta: {
      title: '分享配置'
    }
  },
  // 个人中心配置
  {
    path: '/personalCenterConfig',
    name: 'personalCenterConfig',
    component: () => import('@/views/personalCenterConfig/index'),
    meta: {
      title: '个人中心配置'
    }
  },
  // 自定义导航
  {
    path: '/tabDefine',
    name: 'TabDefineList',
    component: () => import('@/views/tabDefine/index'),
    meta: {
      title: '自定义导航'
    }
  },
  // 商品权限配置
  {
    path: '/productAuthConfig',
    name: 'ProductAuthConfig',
    component: () => import('@/views/productAuthConfig/index'),
    meta: {
      title: '商品权限配置'
    }
  },
  // 角色名单配置
  {
    path: '/roleConfig',
    name: 'RoleConfig',
    component: () => import('@/views/roleConfig/index'),
    meta: {
      title: '角色名单配置'
    }
  },
  // 搜索关键字统计
  {
    path: '/searchKeyWordRecord',
    name: 'SearchKeyWordRecord',
    component: () => import('@/views/searchKeyWordRecord/index'),
    meta: {
      title: '搜索关键字统计'
    }
  },
  // 软装搭配套餐配置
  {
    path: '/productCombination',
    name: 'ProductCombination',
    component: () => import('@/views/productCombination/index'),
    meta: {
      title: '搭配套餐配置'
    }
  },
  // 用户组织关系配置(账号与经销商关联关系配置)
  {
    path: '/accountCustomerConfig',
    name: 'AccountCustomerConfig',
    component: () => import('@/views/accountCustomerConfig/index'),
    meta: {
      title: '用户组织关系配置(账号与经销商关联关系配置)'
    }
  },
  // 首页弹窗配置
  {
    path: '/indexPageTip',
    name: 'IndexPageTip',
    component: () => import('@/views/indexPageTip/index'),
    meta: {
      title: '首页弹窗配置'
    }
  }
]
export default setRouter
